import { Label } from 'cc';
import { ecsclass, EcsComponent } from '../../../../../../../../pkg-export/@gamex/cc-ecs';
import { MyEntity } from '../entity/MyEntity';
import { playerBulletType } from '../../../Common';


@ecsclass('PropComponent')
export class PropComponent extends EcsComponent<MyEntity> {
    static allowRecycling = true;
    protected onRemove() {
        this._bulletType = playerBulletType.M;
    }

    /**道具类型 */
    private _bulletType = playerBulletType.M;
    public get bulletType() {
        return this._bulletType;
    }
    public set bulletType(value) {
        this._bulletType = value;
    }
}